package cn.laowen.user.mapper;

import cn.laowen.user.domain.User;
import cn.laowen.basic.mapper.BasicMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author laowen
 * @since 2022-06-16
 */
public interface UserMapper extends BasicMapper<User> {

    /**
     * 根据前端传过来的电话查询是否已注册
     * @param phone
     * @return
     */
    User loadByPhone(String phone);
}
